[INFO] cloning repository https://github.com/andreananda1022/http-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreananda1022/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreananda1022%2Fhttp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreananda1022%2Fhttp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d40059fd105fa657b2d1ee07ba9c4ca94b58a14b
[INFO] fixing andreananda1022/http-server against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreananda1022%2Fhttp-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/andreananda1022/http-server
[INFO] finished tweaking git repo https://github.com/andreananda1022/http-server
[INFO] tweaked toml for git repo https://github.com/andreananda1022/http-server written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andreananda1022/http-server on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andreananda1022/http-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a
[INFO] running `Command { std: "docker" "start" "9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `format`
[INFO] [stdout]   --> src/main.rs:83:61
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let user_agent = request.headers.get("User-Agent: ")
[INFO] [stdout]    |                                                             ^ help: add `;` here
[INFO] [stdout] 84 |
[INFO] [stdout] 85 |         format!(
[INFO] [stdout]    |         ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `stream`
[INFO] [stdout]   --> src/main.rs:91:6
[INFO] [stdout]    |
[INFO] [stdout] 91 |     }
[INFO] [stdout]    |      ^ help: add `;` here
[INFO] [stdout] 92 |
[INFO] [stdout] 93 |     stream.write_all(response.as_bytes())?;
[INFO] [stdout]    |     ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `format`
[INFO] [stdout]   --> src/main.rs:83:61
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let user_agent = request.headers.get("User-Agent: ")
[INFO] [stdout]    |                                                             ^ help: add `;` here
[INFO] [stdout] 84 |
[INFO] [stdout] 85 |         format!(
[INFO] [stdout]    |         ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `stream`
[INFO] [stdout]   --> src/main.rs:91:6
[INFO] [stdout]    |
[INFO] [stdout] 91 |     }
[INFO] [stdout]    |      ^ help: add `;` here
[INFO] [stdout] 92 |
[INFO] [stdout] 93 |     stream.write_all(response.as_bytes())?;
[INFO] [stdout]    |     ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `streami` in this scope
[INFO] [stdout]   --> src/main.rs:73:36
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let request = Request::TryFrom(streami)?;
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 73 -     let request = Request::TryFrom(streami)?;
[INFO] [stdout] 73 +     let request = Request::TryFrom(stream)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/main.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |     type Error = std::error::Error;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_exact` found for struct `BufReader<R>` in the current scope
[INFO] [stdout]   --> src/main.rs:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |             reader.read_exact(&mut buf)?;
[INFO] [stdout]    |                    ^^^^^^^^^^ method not found in `BufReader<&mut TcpStream>`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1028:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `BufReader<&mut TcpStream>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read_exact` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `TryFrom` found for struct `Request` in the current scope
[INFO] [stdout]   --> src/main.rs:73:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Request {
[INFO] [stdout]    | -------------- associated function or constant `TryFrom` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     let request = Request::TryFrom(streami)?;
[INFO] [stdout]    |                            ^^^^^^^ associated function or constant not found in `Request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `http-server` (bin "http-server") due to 6 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0782.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `streami` in this scope
[INFO] [stdout]   --> src/main.rs:73:36
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let request = Request::TryFrom(streami)?;
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 73 -     let request = Request::TryFrom(streami)?;
[INFO] [stdout] 73 +     let request = Request::TryFrom(stream)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/main.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |     type Error = std::error::Error;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_exact` found for struct `BufReader<R>` in the current scope
[INFO] [stdout]   --> src/main.rs:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |             reader.read_exact(&mut buf)?;
[INFO] [stdout]    |                    ^^^^^^^^^^ method not found in `BufReader<&mut TcpStream>`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1028:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `BufReader<&mut TcpStream>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read_exact` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `http-server` (bin "http-server" test) due to 6 previous errors
[INFO] [stdout] error[E0599]: no associated function or constant named `TryFrom` found for struct `Request` in the current scope
[INFO] [stdout]   --> src/main.rs:73:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Request {
[INFO] [stdout]    | -------------- associated function or constant `TryFrom` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     let request = Request::TryFrom(streami)?;
[INFO] [stdout]    |                            ^^^^^^^ associated function or constant not found in `Request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a", kill_on_drop: false }`
[INFO] [stdout] 9d0ede4b71b89d53a0d6c6a2a84262b793d25461c011cb8c29447e409607ee1a
